  <tr>
    <th class="text-center" width="100"><input type="checkbox" value="" id="checkall" class=""> 全选</th>
    <th>编号</th>
    <th><i class="fa fa-header"></i>产品名称</th>
    <th><i class="fa fa-user"></i>图片1</th>
    <th><i class="fa fa-user"></i>图片2</th>
    <th><i class="fa fa-clock-o">产品参数</th>
    <th><i class="fa fa-clock-o">发布时间</th>
    <th><i class="fa fa-eye">是否上架</th>
    <th><i class="fa fa-eye">所属分类</th>
    <th><a id="click" style="border-bottom:1px solid #000 ;color: #000;">排序</a></th>
    <th>操作</th>
  </tr>
<form action="" method="post">
<foreach name="product" item="v">
  <tr>
    <td class="text-center">
      <input type="checkbox" value="{$v.pro_id}" name="idarr[]" class="cbox" id="pro">
    </td>
    <td>{$a++}</td>
    <td class="art_title">
      <input type="text" value="{$v.pro_name}" readonly data_id="{$v.pro_id}">
    </td>

    <td><img src="__UPLOAD__{$v.pro_img1}" alt="" height="50" />
    <td><img src="__UPLOAD__{$v.pro_img2}" alt="" height="50" />
    <td>{$v.pro_parameter}</td>
    <td>{$v.pro_addtime|date="Y-m-d",###}</td>
    <td class="is_show" data_id="{$v.pro_id}" data_value="{$v.is_show}" >
      <img src="__ADMIN__/img/{$v['is_show']==1?'yes':'no'}.png" alt="" />
    </td> 
    <td>{$v.cat_name}</td>
    <td>{$v.pro_ord}</td>
    <td>
        <a href="{:U('Admin/Product/product_edit/aid/'.$v['pro_id'])}" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>                                        
        <a href="javascript:void(0)" class="btn btn-white btn-sm del" a_id="{$v.pro_id}"><i class="fa fa-trash"></i> 删除 </a>
    </td>
  </tr>
</foreach>
<tr>
<td colspan="2">
    <button type="submit" name="btn" value="1" id="btn" class="pull-left ">批量删除</button>
</td>
</form>
<td colspan="10">{$show}</td>
</tr>